home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Delphi Magazine Collection 2001
/
Delphi Magazine Collection 20001 (2001).iso
/
DISKS
/
ISSUE03
/
PERSEUS
/
PSSLIDER.ZIP
/
TRANS.INT
< prev
Wrap
Text File
|
1995-07-10
|
1KB
|
45 lines
unit Trans;
{This is the source of the TTransparent component the parent of the Slider and the Wheel
of the Perseus VCP. If you purchase at least 2 copies of one of these components
you'll receive it with your registered version!
Copyright ⌐ 1995: Sebastian Modersohn
Softwaredevelopment
Heinestrasse 20
D 15370 Petershagen
Phone: ++49 33439 7462
CompuServe: 100340,1474
Internet: 100340.1474@compuserve.com
Written by: Sebastian Modersohn
The source is nearly undocumented, so if you have questions to details, just
contact us (via CompuServe) and we'll help you (if we can <g>).}
interface
uses WinTypes, Messages, Classes, Controls;
type
TTransparent = class(TCustomControl)
private
FTransparent: Boolean;
EOnChange: TNotifyEvent;
protected
procedure Change; dynamic;
procedure SetTransparent(Value: Boolean);
procedure WMEraseBkgnd(var Message: TWMEraseBkgnd); message WM_ERASEBKGND;
public
constructor Create(AOwner: TComponent); override;
procedure CreateParams(var Params: TCreateParams); override;
procedure SetBounds(ALeft, ATop, AWidth, AHeight: Integer); override;
property OnChange: TNotifyEvent read EOnChange write EOnChange;
published
property Transparent: Boolean read FTransparent write SetTransparent default True;
end;
implementation